<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			for (var i = 0; i < 3; i++) {
				// console.log(i);
			}

			const arr = ['zhangsan', 'lisi', 'wangwu'];
			for (let a in arr) {
				// console.log(a + "," + arr[a]);
			}

			const stu = {
				name: '张三',
				age: 20
			}
			// console.log(stu.name);
			
			for (let s in stu) {
				// console.log(s + "," + stu[s])
			}
			
			for (let s of stu) {
				console.log(s);
			}
		</script>
	</body>
</html>
